package com.example.demo.dao;

import com.example.demo.model.entity.ApplyModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface ApplyRepository extends JpaRepository<ApplyModel, String>, JpaSpecificationExecutor<ApplyModel> {
    ApplyModel findByUserIdAndActivityId(String userId, String activityId);
}
